create or replace type my_data_obj is object
(
  my_id number(10),
  my_data my_base_obj
);